package com.smartwebx.fr.bean;

import com.aspose.words.Orientation;

public class ExportFile {
	private Integer pageWidth;
	private String pageDirect;
	private Integer pageId;
	private String pageHtml;
	private String chartOptions;
	private String smartTableJsons;

	public Integer getPageWidth() {
		return pageWidth;
	}

	public void setPageWidth(Integer pageWidth) {
		this.pageWidth = pageWidth;
	}

	public int getPageDirect() {
		int dir = -1;
		if ("lan".equals(pageDirect)) {
			dir = Orientation.LANDSCAPE;
		} else if ("por".equals(pageDirect)) {
			dir = Orientation.PORTRAIT;
		}
		return dir;
	}

	public void setPageDirect(String pageDirect) {
		this.pageDirect = pageDirect;
	}

	public Integer getPageId() {
		return pageId;
	}

	public void setPageId(Integer pageId) {
		this.pageId = pageId;
	}

	public String getPageHtml() {
		return pageHtml;
	}

	public void setPageHtml(String pageHtml) {
		this.pageHtml = pageHtml;
	}

	public String getChartOptions() {
		return chartOptions;
	}

	public void setChartOptions(String chartOptions) {
		this.chartOptions = chartOptions;
	}

	public String getSmartTableJsons() {
		return smartTableJsons;
	}

	public void setSmartTableJsons(String smartTableJsons) {
		this.smartTableJsons = smartTableJsons;
	}
}
